﻿/**********************************************************************
*创建人：蔡水明
*创建时间：2018/3/9 14:46:13
*说明：<Function>
/**********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Utilities
{
    public class FtpProcess : IProgress<double>
    {
        public event Action<string,double,int> Downloading;
        public string fileName = string.Empty;
        public int curIndex = 0;
        public void Report(double value)
        {
            Downloading?.Invoke(fileName,value,curIndex);
        }
    }
}
